<template>
    <div id="root">
        <div class="todo-container">
            <!-- 头部 -->
            <header-index></header-index>
            <!-- list -->
            <list-index></list-index>
            <!-- 底部 -->
            <footer-index></footer-index>
        </div>
    </div>
</template>

<script>
// 引入构成页面子组件
import headerIndex from "../../components/todolist/header.vue"
import listIndex from "../../components/todolist/list.vue"
import footerIndex from "../../components/todolist/footer.vue"
export default {
    name:'dolistIndex',
    components: {
        headerIndex,
        listIndex,
        footerIndex
    },
    data() {
        return {

        };
    },
    mounted() {

    },
    methods: {

    },
};
</script>

<style scoped>
/*base*/
body {
    background: #fff;
}

/*app*/
.todo-container {
    width: 600px;
    margin: 0 auto;
}

.todo-container .todo-wrap {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}






/*footer*/
.todo-footer {
    height: 40px;
    line-height: 40px;
    padding-left: 6px;
    margin-top: 5px;
}

.todo-footer label {
    display: inline-block;
    margin-right: 20px;
    cursor: pointer;
}

.todo-footer label input {
    position: relative;
    top: -1px;
    vertical-align: middle;
    margin-right: 5px;
}

.todo-footer button {
    float: right;
    margin-top: 5px;
}
</style>
